package com.woniu2;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Service;

@Service
@Aspect
public class UserProxy {
    @Before("execution(* com.woniu2.User.add(..))")
    public void before(){
        System.out.println("before...");
    }
}
